home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / comm / tcp / AmigaTCP.lha / AmigaTCP / src / cmdparse.h < prev    next >
C/C++ Source or Header  |  1989-06-24  |  401b  |  13 lines

  1. #define    NARG        10    /* Max number of args to commands */
  2.  
  3. struct cmds {
  4.     char *name;        /* Name of command */
  5.     int (*func)();        /* Function to execute command */
  6.         int  argcmin;        /* Minimum number of args */
  7.         char *argc_errmsg;    /* Message to print if insufficient args */
  8.         char *exec_errmsg;    /* Message to print if function fails */
  9. };
  10. #ifndef    NULLCHAR
  11. #define    NULLCHAR    (char *)0
  12. #endif
  13.